/*
 * @Author       : huangzb
 * @Date         : 2024-01-24 09:37:54
 * @LastEditors  : huangzb
 * @LastEditTime : 2024-02-01 22:50:37
 * @Description  : 分类管理
 * @FilePath     : \PcBackend\src\api\classesManage\index.js
 */

import api from "@/api";

export function queryClassesManageApi(params) {
    return api.get("/tube/admin/queryClasses", { params });
}

export function createClassesManageApi(data) {
    return api.post("/tube/admin/createClasses", data);
}

export function updateClassesManageApi(data) {
    return api.put("/tube/admin/updateClasses", data);
}

export function deleteClassesManageApi(params) {
    return api.delete("/tube/admin/deleteClasses", { params });
}

export function queryAllClassesManageApi(params) {
    return api.get("tube/admin/queryAllClassesManage", { params });
}

export function queryClassesAll2Api(params) {
    return api.get("/tube/admin/queryAll", { params });
}
